<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>南宁市补贴性职业技能培训学员登记表</title>
    <!-- 引入 Bootstrap 样式 -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- 自定义样式 -->
    <style>
        body {
            background-color: #f8f9fa;
            font-family: 'Arial', sans-serif;
        }
        .form-container {
            max-width: 800px;
            margin: 50px auto;
            padding: 30px;
            background: #ffffff;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .form-header {
            text-align: center;
            margin-bottom: 30px;
        }
        .form-header h2 {
            color: #0d6efd;
            font-weight: bold;
        }
        .form-group label {
            font-weight: bold;
            color: #333;
        }
        .form-group input, .form-group select, .form-group textarea {
            border: 1px solid #ced4da;
            border-radius: 5px;
        }
        .btn-submit {
            background-color: #0d6efd;
            border: none;
            border-radius: 5px;
            padding: 10px 20px;
            font-size: 16px;
            color: #fff;
            transition: background-color 0.3s ease;
        }
        .btn-submit:hover {
            background-color: #0b5ed7;
        }
        .hint {
            font-size: 12px;
            color: #6c757d;
        }
    </style>
</head>
<body>
<div class="form-container">
    <div class="form-header">
        <h2>南宁市补贴性职业技能培训学员登记表</h2>
        <p class="text-muted">请如实填写以下信息，以便我们为您提供更好的服务。</p>
    </div>
    <form id="registration-form" method="POST" action="/submit">
        <!-- 基本信息 -->
        <div class="row mb-3">
            <div class="col-md-6">
                <label for="name" class="form-label">姓名</label>
                <input type="text" class="form-control" id="name" name="name" required>
            </div>
            <div class="col-md-6">
                <label for="gender" class="form-label">性别</label>
                <select class="form-select" id="gender" name="gender" required>
                    <option value="男">男</option>
                    <option value="女">女</option>
                </select>
            </div>
        </div>

        <div class="row mb-3">
            <div class="col-md-6">
                <label for="ethnicity" class="form-label">民族</label>
                <input type="text" class="form-control" id="ethnicity" name="ethnicity" required>
            </div>
            <div class="col-md-6">
                <label for="age" class="form-label">年龄</label>
                <input type="number" class="form-control" id="age" name="age" required>
            </div>
        </div>

        <div class="row mb-3">
            <div class="col-md-6">
                <label for="id_card_number" class="form-label">身份证号码</label>
                <input type="text" class="form-control" id="id_card_number" name="id_card_number" required>
            </div>
            <div class="col-md-6">
                <label for="phone" class="form-label">联系电话</label>
                <input type="tel" class="form-control" id="phone" name="phone" required>
            </div>
        </div>

        <div class="mb-3">
            <label for="id_card_address" class="form-label">身份证地址</label>
            <input type="text" class="form-control" id="id_card_address" name="id_card_address" required>
        </div>

        <!-- 人员类别 -->
        <div class="mb-3">
            <label for="person_category" class="form-label">人员类别</label>
            <textarea class="form-control" id="person_category" name="person_category" rows="3" placeholder="请输入人员类别（例如：困难家庭劳动者、应届毕业生等）" required></textarea>
            <small class="hint">多个类别请用逗号分隔。</small>
        </div>

        <!-- 就业与创业情况 -->
        <div class="row mb-3">
            <div class="col-md-6">
                <label for="employment_status" class="form-label">就业状况</label>
                <select class="form-select" id="employment_status" name="employment_status" required>
                    <option value="已就业">已就业</option>
                    <option value="未就业">未就业</option>
                </select>
            </div>
            <div class="col-md-6">
                <label for="job_title" class="form-label">从事工种或岗位</label>
                <input type="text" class="form-control" id="job_title" name="job_title">
            </div>
        </div>

        <div class="row mb-3">
            <div class="col-md-6">
                <label for="entrepreneurship_status" class="form-label">创业情况</label>
                <select class="form-select" id="entrepreneurship_status" name="entrepreneurship_status" required>
                    <option value="已创业">已创业</option>
                    <option value="未创业">未创业</option>
                </select>
            </div>
            <div class="col-md-6">
                <label for="business_project" class="form-label">创业项目</label>
                <input type="text" class="form-control" id="business_project" name="business_project">
            </div>
        </div>

        <!-- 提交按钮 -->
        <div class="text-center mt-4">
            <button type="submit" class="btn btn-submit">提交登记</button>
        </div>
    </form>
</div>

<!-- 引入 Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>